Don't call CloseHandle() on the HMODULE returned from GetModuleHandle().
authorTor Lillqvist <tml@iki.fi>
Tue, 2 Sep 2003 23:33:02 +0000 (23:33 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 2 Sep 2003 23:33:02 +0000 (23:33 +0000)
commitfafe735f130700fbb0184d5a9523a51160b2c94d
tree508719733bf11eace5cb7f05268842d743dab12d
parent15dbb7c912a55007476fff1fa1f6131665c97657
Don't call CloseHandle() on the HMODULE returned from GetModuleHandle().

2003-09-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdisplay-win32.c (gdk_display_open): Don't call
CloseHandle() on the HMODULE returned from GetModuleHandle().
Didn't cause any harm, but didn't do anything useful either. When
running a GTK+ program under MS's debugger, the CloseHandle() call
would cause a "first-chance exception" in ntdll.dll to show up.
(The exception is caught appropriately if you let it proceed, but
it confuses the person using the debugger). Thanks to Bruce
Hochstetler for noticing.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkdisplay-win32.c